
module "test-traefik-lb" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-traefik-lb"
  type  = "A"
  ttl   = 3600
  value = "10.9.9.4"
}

module "cnames-to-test-traefik-lb" {
  source = "../../modules/hybrid/dns_multi/deeproute.cn"

  type  = "CNAME"
  value = "test-traefik-lb.deeproute.cn"
  ttl   = 3600

  rrs = [
    "test-alertmanager",
    "test-alluxio",
    "test-alluxio-proxy",
    "test-consul",
    "test-victoria-metrics",
  ]
}

module "test-elasticsearch" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-elasticsearch"
  type  = "A"
  ttl   = 3600
  value = "10.1.1.64"
}

module "test-elasticsearch-transport" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-elasticsearch-transport"
  type  = "A"
  ttl   = 3600
  value = "10.1.1.70"
}

module "test-kafka-ui" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-kafka-ui"
  type  = "A"
  ttl   = 3600
  value = "10.1.1.64"
}

module "test-kube-auth-manager" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-kube-auth-manager"
  type  = "A"
  ttl   = 3600
  value = "10.1.1.64"
}

module "test-lb-apiserver" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-lb-apiserver"
  type  = "A"
  ttl   = 3600
  value = "10.1.1.10"
}

module "test-lb-haproxy" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-lb-haproxy"
  type  = "A"
  ttl   = 3600
  value = "10.244.45.253"
}

module "test-vault" {
  source = "../../modules/hybrid/dns/deeproute.cn"

  rr    = "test-vault"
  type  = "A"
  ttl   = 3600
  value = "10.10.10.15"
}
